<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

<!--- <cfdump var="#application#">
<cfdump var="#request#"> --->
<!--- 
<cfdump var="#session.currentUser.getPerms()#" /> 
<cfdump var="#request.PermS.getAllPerms()#" />--->

<cfif session.CurrentUser.hasRole("NCSSS Field Database", "modify")>
	<p>Can modify NCSSS Field Database!</p>
<cfelse>
	<p>Can't modify NCSSS Field Database!</p>
</cfif>

<cfif session.currentUser.hasPerm("NCSSS Field Database", "student", "admin")>
	<p>Can admin NCSSS Field Database any!</p>
<cfelse>
	<p>Can't admin NCSSS Field Database any!</p>
</cfif>

<p>secure index.cfm</p>

